home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / hypercar / xfcn / spttool.cpt / Support Tools eXternals 1.2.5 / card_15212.txt < prev    next >
Text File  |  1990-11-13  |  2KB  |  81 lines

  1. -- card: 15212 from stack: in.5
  2. -- bmap block id: 17885
  3. -- flags: 0000
  4. -- background id: 3858
  5. -- name: PlotPICT
  6.  
  7.  
  8. -- part 1 (button)
  9. -- low flags: 00
  10. -- high flags: A002
  11. -- rect: left=65 top=212 right=246 bottom=182
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 8192
  18. -- line height: 16
  19. -- part name: Clip to HC window
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   PlotPICT "splash", "", "", "0,0,640,480"
  23. end mouseUp
  24.  
  25.  
  26.  
  27. -- part 2 (button)
  28. -- low flags: 00
  29. -- high flags: A002
  30. -- rect: left=80 top=165 right=199 bottom=173
  31. -- title width / last selected line: 0
  32. -- icon id / first selected line: 0 / 0
  33. -- text alignment: 1
  34. -- font id: 0
  35. -- text size: 12
  36. -- style flags: 8192
  37. -- line height: 16
  38. -- part name: No Clipping
  39. ----- HyperTalk script -----
  40. on mouseUp
  41.   PlotPICT "splash", "", "", "0,0,640,480", "noclipping"
  42. end mouseUp
  43.  
  44.  
  45.  
  46. -- part 3 (button)
  47. -- low flags: 00
  48. -- high flags: A002
  49. -- rect: left=74 top=261 right=295 bottom=176
  50. -- title width / last selected line: 0
  51. -- icon id / first selected line: 0 / 0
  52. -- text alignment: 1
  53. -- font id: 0
  54. -- text size: 12
  55. -- style flags: 8192
  56. -- line height: 16
  57. -- part name: RedrawDesktop
  58. ----- HyperTalk script -----
  59. on mouseUp
  60.   UpdateDesktop
  61. end mouseUp
  62.  
  63.  
  64.  
  65. -- part contents for background part 38
  66. ----- text -----
  67. 36/50
  68.  
  69. -- part contents for background part 20
  70. ----- text -----
  71. Draws a PICT resource from the in the current stack or any file on any mounted volume.  May specify the PICT by name or ID. PICT #0 is used if neither is specified.  The PICT will be within the boundaries of the current card or over top of EVERYTHING in the specified rectangle.
  72.  
  73. Calling Syntax: PlotPICT <PICTName>, <PICTID>, <fileName>, <rect>, <ΓÇ£NoClippingΓÇ¥>, <ΓÇ£noDialogΓÇ¥:errorGlobal>
  74.  
  75. <PICTName> the name of the PICT resource
  76. <PICTID>      the number of the PICT resource
  77. <fileName>   the path to the file containing the PICT.  the current stack is used if filename is specified.
  78. <rect>           the rect into which the PICT will be drawn (in global coordinates).
  79. <ΓÇ£NoClippingΓÇ¥> if the literal string ΓÇ£NoClippingΓÇ¥ is passed the pict will be drawn overtop of EVERYTHING (window, windoids, menubar, etc).   The XCMD ΓÇ£RedrawDesktopΓÇ¥ (contained in this stack) can be used to cleanup after this XCMD.  It will force a redraw of all windows and the desktop, getting rid of all traces of the PICT.
  80.  
  81.